package bravo.xc.com.xc_bravo_android.operation.withdraw.withdrawmain;

import java.util.List;

import bravo.xc.com.xc_bravo_android.base.BasePresenter;
import bravo.xc.com.xc_bravo_android.base.BaseView;
import bravo.xc.com.xc_bravo_android.beans.CommonBeans;
import bravo.xc.com.xc_bravo_android.beans.GetBankResultBeans;
import bravo.xc.com.xc_bravo_android.beans.SendCodeBeans;
import bravo.xc.com.xc_bravo_android.beans.SendMoneyCodeBeans;
import bravo.xc.com.xc_bravo_android.beans.WithDrawBeans;
import bravo.xc.com.xc_bravo_android.beans.WithDrawResultBeans;

/**
 * CREATED BY YANK
 * DATE : 2017/11/7
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public interface WithdrawContract {

    interface WithdrawView extends BaseView{
        void setAdapter(WithDrawResultBeans withDrawResultBeans);
        void setPhone(String phone);
        void setNum(float num);
        void toNewActivity();
    }

    abstract class WithdrawPresenter extends BasePresenter<WithdrawView>{

        public abstract void doWithDraw(WithDrawBeans withDrawBeans);
        public abstract void doGetInit(CommonBeans commonBeans);
        public abstract void getCodes(SendMoneyCodeBeans sendMoneyCodeBeans);

    }
}
